package com.ruoyi.face.service;


import com.arcsoft.face.FaceInfo;
import com.arcsoft.face.toolkit.ImageInfo;
import com.ruoyi.face.entity.UserCompareInfo;
import com.ruoyi.face.entity.UserInfo;

import java.util.List;


public interface FaceEngineService {

    List<FaceInfo> detectFaces(ImageInfo imageInfo);


    byte[] extractFaceFeature(ImageInfo imageInfo,FaceInfo faceInfo);

    List<UserCompareInfo> faceRecognition(byte[] faceFeature, List<UserInfo> userInfoList, float passRate) ;




}
